[INFO] cloning repository https://github.com/jamespettigrew/rstext
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamespettigrew/rstext" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamespettigrew%2Frstext", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamespettigrew%2Frstext'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 681f5a1b24ae4fb6edd6f52d22d0f12b01762ab8
[INFO] checking jamespettigrew/rstext against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamespettigrew%2Frstext" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jamespettigrew/rstext on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jamespettigrew/rstext
[INFO] finished tweaking git repo https://github.com/jamespettigrew/rstext
[INFO] tweaked toml for git repo https://github.com/jamespettigrew/rstext written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/jamespettigrew/rstext already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2f37707abb679137c8762fe7b74c79c28bf85e9106a0853cf6686470690aa948
[INFO] running `Command { std: "docker" "start" "-a" "2f37707abb679137c8762fe7b74c79c28bf85e9106a0853cf6686470690aa948", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f37707abb679137c8762fe7b74c79c28bf85e9106a0853cf6686470690aa948", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f37707abb679137c8762fe7b74c79c28bf85e9106a0853cf6686470690aa948", kill_on_drop: false }`
[INFO] [stdout] 2f37707abb679137c8762fe7b74c79c28bf85e9106a0853cf6686470690aa948
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b667a2eda24d9b648eae7a6fb1d333902bb4ef3677aa29d6a277d797b9b54933
[INFO] running `Command { std: "docker" "start" "-a" "b667a2eda24d9b648eae7a6fb1d333902bb4ef3677aa29d6a277d797b9b54933", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]     Checking smallvec v1.2.0
[INFO] [stderr]     Checking arc-swap v0.4.4
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking plotters-backend v0.3.5
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking lock_api v0.3.3
[INFO] [stderr]     Checking regex-syntax v0.8.2
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking half v1.8.3
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking plotters-svg v0.3.5
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking oorandom v11.1.3
[INFO] [stderr]     Checking csv-core v0.1.11
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.52
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking signal-hook-registry v1.2.0
[INFO] [stderr]     Checking parking_lot_core v0.7.0
[INFO] [stderr]     Checking getrandom v0.1.16
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking parking_lot v0.10.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking signal-hook v0.1.17
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking crossterm v0.17.7
[INFO] [stderr]     Checking plotters v0.3.5
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rayon v1.9.0
[INFO] [stderr]     Checking criterion-plot v0.4.5
[INFO] [stderr]     Checking rstext v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::text_buffer::piece_table::PieceTable`
[INFO] [stdout]  --> src/commands/cursor.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::text_buffer::piece_table::PieceTable;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::text_buffer::piece_table::PieceTable`
[INFO] [stdout]  --> src/commands/edit.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::text_buffer::piece_table::PieceTable;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `str_utils`
[INFO] [stdout]  --> src/editor.rs:1:60
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{config::{EditorConfig, IndentationPreference}, str_utils};
[INFO] [stdout]   |                                                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::text_buffer::TextBuffer`
[INFO] [stdout]  --> src/editor.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::text_buffer::TextBuffer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout]   --> src/editor.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     Result,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IndentationPreference`
[INFO] [stdout]  --> src/renderer.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::config::{EditorConfig, IndentationPreference};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Index`
[INFO] [stdout]  --> src/text_buffer/piece_table.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::{Index, Range};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vertical_offset`
[INFO] [stdout]   --> src/window.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         vertical_offset: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertical_offset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `horizontal_offset`
[INFO] [stdout]   --> src/window.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         horizontal_offset: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_horizontal_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/commands/app.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         file::save(path, editor.text_buffer.all_content());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let _ = file::save(path, editor.text_buffer.all_content());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/editor.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         execute!(self.screen, EnterAlternateScreen);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/editor.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         terminal::enable_raw_mode();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let _ = terminal::enable_raw_mode();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/editor.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |         execute!(self.screen, LeaveAlternateScreen);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/editor.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |         terminal::disable_raw_mode();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let _ = terminal::disable_raw_mode();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/renderer.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 76 |     queue!(screen, Clear(ClearType::All), Hide);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 | /             queue!(
[INFO] [stdout] 103 | |                 screen,
[INFO] [stdout] 104 | |                 MoveTo(0, line_count as u16),
[INFO] [stdout] 105 | |                 style::PrintStyledContent(styled_characters)
[INFO] [stdout] 106 | |             );
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 | /         queue!(
[INFO] [stdout] 116 | |             screen,
[INFO] [stdout] 117 | |             MoveTo(0, line_count as u16),
[INFO] [stdout] 118 | |             style::PrintStyledContent(styled_characters),
[INFO] [stdout] 119 | |             MoveTo(line_number_columns, line_count as u16)
[INFO] [stdout] 120 | |         );
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:133:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |             queue!(screen, style::PrintStyledContent(styled));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:149:5
[INFO] [stdout]     |
[INFO] [stdout] 149 | /     queue!(
[INFO] [stdout] 150 | |         screen,
[INFO] [stdout] 151 | |         MoveTo(print_column_start, terminal_height - 1),
[INFO] [stdout] 152 | |         style::Print(cursor_position_info)
[INFO] [stdout] 153 | |     );
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:155:5
[INFO] [stdout]     |
[INFO] [stdout] 155 | /     queue!(
[INFO] [stdout] 156 | |         screen,
[INFO] [stdout] 157 | |         MoveTo(relative_cursor_column, relative_cursor_row as u16),
[INFO] [stdout] 158 | |         Show
[INFO] [stdout] 159 | |     );
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/main.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::{ Path, PathBuf};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking regex v1.10.3
[INFO] [stderr]     Checking csv v1.3.0
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]     Checking criterion v0.3.6
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/main.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::{ Path, PathBuf};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::text_buffer::piece_table::PieceTable`
[INFO] [stdout]  --> src/commands/cursor.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::text_buffer::piece_table::PieceTable;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::text_buffer::piece_table::PieceTable`
[INFO] [stdout]  --> src/commands/edit.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::text_buffer::piece_table::PieceTable;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `str_utils`
[INFO] [stdout]  --> src/editor.rs:1:60
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{config::{EditorConfig, IndentationPreference}, str_utils};
[INFO] [stdout]   |                                                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::text_buffer::TextBuffer`
[INFO] [stdout]  --> src/editor.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::text_buffer::TextBuffer;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout]   --> src/editor.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     Result,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IndentationPreference`
[INFO] [stdout]  --> src/renderer.rs:1:35
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::config::{EditorConfig, IndentationPreference};
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Index`
[INFO] [stdout]  --> src/text_buffer/piece_table.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::{Index, Range};
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `black_box`
[INFO] [stdout]  --> benches/text_buffer_insert.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BatchSize};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BatchSize`, `black_box`
[INFO] [stdout]  --> benches/text_buffer_line_content.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BatchSize};
[INFO] [stdout]   |                 ^^^^^^^^^                                              ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `black_box`
[INFO] [stdout]  --> benches/text_buffer_create.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion, BatchSize};
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `vertical_offset`
[INFO] [stdout]   --> src/window.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         vertical_offset: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertical_offset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `horizontal_offset`
[INFO] [stdout]   --> src/window.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         horizontal_offset: usize,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_horizontal_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/commands/app.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         file::save(path, editor.text_buffer.all_content());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let _ = file::save(path, editor.text_buffer.all_content());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/editor.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         execute!(self.screen, EnterAlternateScreen);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/editor.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 59 |         terminal::enable_raw_mode();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let _ = terminal::enable_raw_mode();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/editor.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |         execute!(self.screen, LeaveAlternateScreen);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `execute` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/editor.rs:96:9
[INFO] [stdout]    |
[INFO] [stdout] 96 |         terminal::disable_raw_mode();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let _ = terminal::disable_raw_mode();
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/renderer.rs:76:5
[INFO] [stdout]    |
[INFO] [stdout] 76 |     queue!(screen, Clear(ClearType::All), Hide);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 | /             queue!(
[INFO] [stdout] 103 | |                 screen,
[INFO] [stdout] 104 | |                 MoveTo(0, line_count as u16),
[INFO] [stdout] 105 | |                 style::PrintStyledContent(styled_characters)
[INFO] [stdout] 106 | |             );
[INFO] [stdout]     | |_____________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 | /         queue!(
[INFO] [stdout] 116 | |             screen,
[INFO] [stdout] 117 | |             MoveTo(0, line_count as u16),
[INFO] [stdout] 118 | |             style::PrintStyledContent(styled_characters),
[INFO] [stdout] 119 | |             MoveTo(line_number_columns, line_count as u16)
[INFO] [stdout] 120 | |         );
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:133:13
[INFO] [stdout]     |
[INFO] [stdout] 133 |             queue!(screen, style::PrintStyledContent(styled));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:149:5
[INFO] [stdout]     |
[INFO] [stdout] 149 | /     queue!(
[INFO] [stdout] 150 | |         screen,
[INFO] [stdout] 151 | |         MoveTo(print_column_start, terminal_height - 1),
[INFO] [stdout] 152 | |         style::Print(cursor_position_info)
[INFO] [stdout] 153 | |     );
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/renderer.rs:155:5
[INFO] [stdout]     |
[INFO] [stdout] 155 | /     queue!(
[INFO] [stdout] 156 | |         screen,
[INFO] [stdout] 157 | |         MoveTo(relative_cursor_column, relative_cursor_row as u16),
[INFO] [stdout] 158 | |         Show
[INFO] [stdout] 159 | |     );
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: this warning originates in the macro `queue` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> benches/text_buffer_insert.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |             || items.clone(), 
[INFO] [stdout]    |                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> benches/text_buffer_insert.rs:44:21
[INFO] [stdout]    |
[INFO] [stdout] 44 |             || items.clone(), 
[INFO] [stdout]    |                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> benches/text_buffer_insert.rs:68:21
[INFO] [stdout]    |
[INFO] [stdout] 68 |             || items.clone(), 
[INFO] [stdout]    |                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> benches/text_buffer_insert.rs:92:21
[INFO] [stdout]    |
[INFO] [stdout] 92 |             || items.clone(), 
[INFO] [stdout]    |                     ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 20 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.99s
[INFO] running `Command { std: "docker" "inspect" "b667a2eda24d9b648eae7a6fb1d333902bb4ef3677aa29d6a277d797b9b54933", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b667a2eda24d9b648eae7a6fb1d333902bb4ef3677aa29d6a277d797b9b54933", kill_on_drop: false }`
[INFO] [stdout] b667a2eda24d9b648eae7a6fb1d333902bb4ef3677aa29d6a277d797b9b54933
